package com.translate.web.param;
import java.math.BigDecimal;
import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import com.translate.web.constant.ValidateCondtionAndMessage;
import com.translate.web.param.contract.IServicePriceConfAddParam;
public class ServicePriceConfAddParam implements IServicePriceConfAddParam {// 服务编号
@NotNull
@Min(value = ValidateCondtionAndMessage.MIN_ID, message = ValidateCondtionAndMessage.MIN_ID_MSG)
private Integer serviceId;
// 服务名类型（冗余）
@NotNull
@Pattern(regexp = ValidateCondtionAndMessage.CHINESE_ENGLISH_NUMBER_UNDERLINE_BY_SERIESDESCRIPTION, message = ValidateCondtionAndMessage.CHINESE_ENGLISH_NUMBER_UNDERLINE_BY_SERIESDESCRIPTION_MSG)
private String serviceType;
// 服务类型id
@NotNull
@Min(value = ValidateCondtionAndMessage.MIN_ID, message = ValidateCondtionAndMessage.MIN_ID_MSG)
private Integer typeId;
// 返稿开始时间
@NotNull
@Min(value = ValidateCondtionAndMessage.MIN_STATUS, message = ValidateCondtionAndMessage.MIN_STATUS_MSG)
@Max(value = ValidateCondtionAndMessage.MAX_STATUS, message = ValidateCondtionAndMessage.MAX_STATUS_MSG)
private Byte returnStartTime;
// 返稿结束时间
@NotNull
@Min(value = ValidateCondtionAndMessage.MIN_STATUS, message = ValidateCondtionAndMessage.MIN_STATUS_MSG)
@Max(value = ValidateCondtionAndMessage.MAX_STATUS, message = ValidateCondtionAndMessage.MAX_STATUS_MSG)
private Byte returnEndTime;
// 计费方式 0 按字数 1  按 篇数 2 客服报价
@NotNull
@Min(value = ValidateCondtionAndMessage.MIN_STATUS, message = ValidateCondtionAndMessage.MIN_STATUS_MSG)
@Max(value = ValidateCondtionAndMessage.MAX_STATUS, message = ValidateCondtionAndMessage.MAX_STATUS_MSG)
private Byte billingMethod;
// 客户价格

private BigDecimal customerPrice;
// 是否加急 0 否 1 是
@NotNull
@Min(value = ValidateCondtionAndMessage.MIN_STATUS, message = ValidateCondtionAndMessage.MIN_STATUS_MSG)
@Max(value = ValidateCondtionAndMessage.MAX_STATUS, message = ValidateCondtionAndMessage.MAX_STATUS_MSG)
private Byte urgent;
// 加急开始时间
@NotNull
@Min(value = ValidateCondtionAndMessage.MIN_STATUS, message = ValidateCondtionAndMessage.MIN_STATUS_MSG)
@Max(value = ValidateCondtionAndMessage.MAX_STATUS, message = ValidateCondtionAndMessage.MAX_STATUS_MSG)
private Byte urgentStartTime;
// 加急结束时间
@NotNull
@Min(value = ValidateCondtionAndMessage.MIN_STATUS, message = ValidateCondtionAndMessage.MIN_STATUS_MSG)
@Max(value = ValidateCondtionAndMessage.MAX_STATUS, message = ValidateCondtionAndMessage.MAX_STATUS_MSG)
private Byte urgentEndTime;
// 加收比例

private Float additionalChargeRatio;



public Integer getServiceId() {
        return serviceId;
    }
public void setServiceId(Integer serviceId) {
        this.serviceId = serviceId;
    }
public String getServiceType() {
        return serviceType;
    }
public void setServiceType(String serviceType) {
        this.serviceType = serviceType == null ? null : serviceType.trim();
    }
public Integer getTypeId() {
        return typeId;
    }
public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }
public Byte getReturnStartTime() {
        return returnStartTime;
    }
public void setReturnStartTime(Byte returnStartTime) {
        this.returnStartTime = returnStartTime;
    }
public Byte getReturnEndTime() {
        return returnEndTime;
    }
public void setReturnEndTime(Byte returnEndTime) {
        this.returnEndTime = returnEndTime;
    }
public Byte getBillingMethod() {
        return billingMethod;
    }
public void setBillingMethod(Byte billingMethod) {
        this.billingMethod = billingMethod;
    }
public BigDecimal getCustomerPrice() {
        return customerPrice;
    }
public void setCustomerPrice(BigDecimal customerPrice) {
        this.customerPrice = customerPrice;
    }
public Byte getUrgent() {
        return urgent;
    }
public void setUrgent(Byte urgent) {
        this.urgent = urgent;
    }
public Byte getUrgentStartTime() {
        return urgentStartTime;
    }
public void setUrgentStartTime(Byte urgentStartTime) {
        this.urgentStartTime = urgentStartTime;
    }
public Byte getUrgentEndTime() {
        return urgentEndTime;
    }
public void setUrgentEndTime(Byte urgentEndTime) {
        this.urgentEndTime = urgentEndTime;
    }
public Float getAdditionalChargeRatio() {
        return additionalChargeRatio;
    }
public void setAdditionalChargeRatio(Float additionalChargeRatio) {
        this.additionalChargeRatio = additionalChargeRatio;
    }




}